package com.pet.shop.mappers.shop;

import com.github.pagehelper.Page;
import com.pet.shop.dto.PageDto;
import com.pet.shop.entity.shop.PetInjection;

import java.util.List;
import java.util.Map;

public interface PetInjectionMapper {

    int delete(Long id);

    int insert(PetInjection record);

    PetInjection get(Long id);

    int update(PetInjection record);

    Page<PetInjection> queryPage(PageDto<PetInjection> page);

    List<PetInjection> queryByPetId(Long petId);
}